package com.travel.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.travel.pojo.HotelFacilities;
import com.travel.service.HotelFacilitiesService;
import com.travel.mapper.HotelFacilitiesMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
* @author 18757
* @description 针对表【hotel_facilities(酒店设施表)】的数据库操作Service实现
* @createDate 2023-05-09 16:35:04
*/
@Service
public class HotelFacilitiesServiceImpl extends ServiceImpl<HotelFacilitiesMapper, HotelFacilities>
    implements HotelFacilitiesService{

    @Resource
    private HotelFacilitiesMapper hotelFacilitiesMapper;
    /**
     * 查询全部设施
     * @return 设施list
     */
    @Override
    public List<HotelFacilities> selectListOfFacilities() {
        return hotelFacilitiesMapper.selectList(null);
    }
}




